import { Field, ObjectType } from "@nestjs/graphql";
import { Pagination } from "./pagination";
import { UserEntity } from "../user.entity/user.entity";


@ObjectType()
export class UserPagination extends Pagination {
    @Field(() => [UserEntity])
    data: UserEntity[]
}